package com.le.tester.book.flightjava8.parameterpassing;

import javax.xml.transform.Source;

/**
 * createTime：2025-06-19 14:13
 * description：
 */
public class MeaningOfThis {
    public int value = 4;

    public void doIt() {
        int value = 6;
        Runnable r = new Runnable() {
            public final int value = 5;

            @Override
            public void run() {
                int value = 10;
                System.out.println(this.value);
            }
        };
        r.run();
    }

    public String getName(String name) {
        System.out.println(name);
        return name;
    }

    public static void main(String[] args) {
        String lecx = new MeaningOfThis().getName("lecx");
        lecx = "lecx1";
        System.out.println(lecx);
    }
}
